package com.itheima.vo.user;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

import java.io.Serializable;

/**
 * 用户信息vo
 * @author 51585
 */
@Data
@ApiModel(value = "用户信息Vo")
public class UserVo implements Serializable {
    private static final long serialVersionUID = -4101782481845337462L;
    /**
     * 用户唯一标识
     */
    @ApiModelProperty(value = "用户id" )
    private String id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名" )
    private String name;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "用户头像地址")
    private String imageUrl;

    /**
     * 所属组织id
     */
    @ApiModelProperty(value = "用户所属的组织")
    private Integer organizationId;

    /**
     * 当前用户的token
     */
    @ApiModelProperty(value = "本次访问的token" )
    private String token;

    /**
     * 长期token
     */
    @ApiModelProperty(value = "长期token")
    private String refreshToken;
}
